<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>博客屋</title>
    <link href="js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="css/index.css" rel="stylesheet">
    <link rel="stylesheet" href="css/site.min.css">
    <style type="text/css">
        ul {
            padding-left: 0px;
        }
        
        ul li {
            list-style: none;
        }
    </style>

    <body id="app">
        <nav class="navbar navbar-inverse navbar-fixed-top">
            <div class="container-fluid">
                <div class="navbar-header">
                    <a href="#" class="navbar-brand">博客屋</a>
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
                        <span class="sr-only">切换导航</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        </button>
                </div>
                <div class="collapse navbar-collapse" id="navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#"><span class="glyphicon glyphicon-home"></span> 首页</a></li>
                        <li><a href="http://blogwu.cn:8000/blogwuclass.html"><span class="glyphicon glyphicon-fire"></span> 视频</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-list"></span> 博客</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-comment"></span> 论坛</a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="#" data-toggle="modal" data-target="#layer"><span class="glyphicon glyphicon-user"></span> 登录</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-edit"></span> 注册</a></li>
                </div>
            </div>
        </nav>
        <!-- data-ride="carousel" 自动轮播 -->
        <div id="myCarousel" class="carousel slide" style="width:100%;margin-top:50px;">
            <ol class="carousel-indicators">
                <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                <li data-target="#myCarousel" data-slide-to="1"></li>
                <li data-target="#myCarousel" data-slide-to="2"></li>
            </ol>
            <div class="carousel-inner">
                <div class="item active">
                    <img src="../pic/test/1.jpg" alt="第一张">
                </div>
                <div class="item">
                    <img src="../pic/test/1.jpg" alt="第二张">
                </div>
                <div class="item">
                    <img src="../pic/test/1.jpg" alt="第三张">
                </div>
            </div>
            <a href="#myCarousel" data-slide="prev" class="carousel-control left">&lsaquo;</a>
            <a href="#myCarousel" data-slide="next" class="carousel-control right">&rsaquo;</a>
        </div>
        <div class="tab1">
            <div class="container">
                <h4><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>&nbsp;&nbsp;热门课程</h4>
                <!--在线课程-->
                <div class="class_online">
                    <div class="row">
                        <div class="col-md-3 col a_list_of_class" v-for="n in 4">
                            <ul>
                                <li v-for="n in 2">
                                    <div class="one_class">
                                        <div class="thumbnail">
                                            <img src="../pic/test/2.jpg" class="one_class_pic">
                                            <div class="caption">
                                                <h4 class="text-center">PHP代码审计<small>&nbsp;&nbsp;网络安全</small></h4>
                                                <p>
                                                    讲师：胡菜鸟
                                                    <span class="glyphicon glyphicon-king" style="float: right;">高级</span>
                                                </p>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <p class="text-center"> <button type="button" class="btn btn-info" style="width: 30%;">更多课程</button></p>
                </div>
                <!--在线课程end-->
                <hr>
                <h4><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>&nbsp;&nbsp;热门博客</h4>
                <!--热门博客start-->
                <div class="hot_blog">
                    <div class="row">
                        <!--blog分类列表   style="background-color: blue"-->
                        <div class="col-md-3 col">
                            <div class="list-group">
                                <a href="#" class="list-group-item active">博客分类</a>
                                <a href="#" class="list-group-item" v-for="n in 4">服务端开发/管理 {{n}}</a>
                            </div>
                        </div>
                        <div class="col-md-9 ">
                            <div class="panel panel-default" v-for="n in 4">
                                <div class="panel-body">
                                    <div class="media">
                                        <div class="col-md-5 col-sm-12">
                                           <p><img class="img-circle blog_user_headpic" src="../pic/test/3_tou.jpg">&nbsp;阳光很刺眼</p>

                                            <div class="media-left">
                                            <a href="#">
                                                <img class="media-object blog_image" src="../pic/test/4.jpg" alt="...">
                                            </a>
                                        </div>
                                        </div>
                                        <div class="col-md-7 col-sm-12">
                                            <p class="blog_font_color">
                                                <span class="glyphicon glyphicon-comment" style="float: right;">（2）</span>
                                                <span class="glyphicon glyphicon-eye-open" style="float: right;margin-right: 20px;">（321）</span>&nbsp;
                                                <span class="glyphicon glyphicon-time" style="float: right;margin-right: 20px;">20117/03/21</span>&nbsp;
                                            </p>
                                        <div class="media-body">
                                            <h4  class="blog_title">2016年iOS公开可利用漏洞总结</h4>
                                            <span class="message_digest hidden-sm hidden-xs">    0x00 序 iOS的安全性远比大家的想象中脆弱，除了没有公开的漏洞以外，还有很多已经公开并且可被利用的漏洞，本报告总结了2016年比较严重的iOS漏洞（可用于远程代码执行或越狱），希望能够对大家移动安全方面</span>
                                            <!--<h4 class="media-heading text-right">查看全部&nbsp;<span class="glyphicon glyphicon-triangle-right"></span></h4>-->
                                            <button type="button" class="btn btn-block">查看全部</button>
                                        </div>
                                        </div>
                                    </div>



                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!--热门博客end  #808080;-->
            </div>
        </div>

        <!--模态框 弹出框-->
        <div role="dialog" class="modal fade bs-example-modal-sm" id="layer">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal">
                            <span>&times;</span>
                        </button>
                        <h4 class="modal-title text-center">用户登录</h4>
                    </div>
                    <div class="modal-body text-center">
                        <button data-dismiss="modal" class="btn btn-primary btn-lg">登录</button>
                        <button data-dismiss="modal" class="btn btn-danger btn-lg">关闭</button>
                    </div>
                </div>
            </div>
        </div>


        <script src="js/bootstrap/js/jquery-1.11.1.min.js"></script>
        <script src="js/bootstrap/js/bootstrap.min.js"></script>
        <script src="../js/vue/vue1.js"></script>
        <script>
            var vm = new Vue({
                el: '#app'
            });
        </script>
    </body>

</html>